package com.locoboard;

import android.content.Context;
import android.widget.TextView;

/**
 * A custom TextView to display messages.  Alters
 * the background, border and font color.
 * @author Gordon Meyer 03/13
 */
public class MessageBubble extends TextView{

	@SuppressWarnings("deprecation")
	public MessageBubble(Context context, String mess) {
		super(context);
		
		this.setText(mess);
		this.setBackgroundDrawable(Globals.getMainActivity().getResources()
						.getDrawable(R.drawable.bkgd_message_text));
	}
	
	public MessageBubble(Context c){
		this(c,"");
	}
	

}
